<%@ page language="java" contentType="text/html;charset=utf-8" isErrorPage="true"%>
<html>
<head>
<title>系统运行期错误</title>
<%@ include file="common/meta.inc"%>
</head>
<body>
<script language="javascript">
  function showDetail()
  {
      var errorDetail = document.getElementById("errorDetail");
      if(errorDetail.style.display=="none")
      	errorDetail.style.display = "";
      else
      	errorDetail.style.display = "none";	
  }
</script>
<table width="90%" align="center" cellSpacing="0" cellPadding="0"> 
<tr>
	<th height="50px"></th>
</tr>
<tr>
	<td align="center" valign="middle"> 
       <table width="100%" align="center" cellpadding="0" cellspacing="0" class="bluetable">
			<tr>
		      <th>系统运行期错误:</th>
		    </tr>
		    <tr>
		         <td height="80px" align="left" valign="top"><%if(exception!=null) out.println(exception.getMessage());%></td>
		    </tr>
		    <tr>
		         <td align="center"><a href="javascript:history.back();">返回</a></td>
		    </tr>
		</table>		
       <table width="100%" align="center" cellpadding="0" cellspacing="0" class="bluetable">
			<tr>
		      <td><a href="#" onclick="showDetail();return false;">开发人员点击此处获取详细错误信息</a></td>
		    </tr>
		    <tr id="errorDetail" style="display:none" >
		         <td height="80px" align="left" valign="top"><pre><%exception.printStackTrace(new java.io.PrintWriter(out));%></pre></td>
		    </tr>		    
		</table>	
	</td>
</tr> 
</table>
</body>
</html>
